﻿// Models/Order.cs
using System.Collections.Generic;

namespace OrderApi.Models
{
    public class Order
    {
        public int OrderId { get; set; }
        public string CustomerName { get; set; }
        public System.DateTime OrderDate { get; set; }
        public decimal TotalAmount { get; set; }
        public virtual ICollection<OrderDetail> Details { get; set; }
    }
}